import Layout from '@/layout'

export default {
  path: '/announcement',
  component: Layout,
  children: [
    {
      path: 'info/:id',
      name: 'announceInfo',
      component: () => import('@/views/announcement/info'),
      hidden: true,
      meta: { title: '公告详情' },
      props: true
    },
    {
      path: '',
      name: 'announceList',
      component: () => import('@/views/announcement/'),
      meta: { title: '通知公告' }
    }
  ]
}
